3.1443 \(\int \frac{(3+5 x)^2}{(1-2 x) (2+3 x)} \, dx\)

Optimal. Leaf size=26 \[ -\frac{25 x}{6}-\frac{121}{28} \log (1-2 x)+\frac{1}{63} \log (3 x+2) \]

[Out]

(-25*x)/6 - (121*Log[1 - 2*x])/28 + Log[2 + 3*x]/63

_______________________________________________________________________________________

Rubi [A]  time = 0.0386517, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045 \[ -\frac{25 x}{6}-\frac{121}{28} \log (1-2 x)+\frac{1}{63} \log (3 x+2) \]

Antiderivative was successfully verified.

[In]  Int[(3 + 5*x)^2/((1 - 2*x)*(2 + 3*x)),x]

[Out]

(-25*x)/6 - (121*Log[1 - 2*x])/28 + Log[2 + 3*x]/63

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \frac{121 \log{\left (- 2 x + 1 \right )}}{28} + \frac{\log{\left (3 x + 2 \right )}}{63} + \int \left (- \frac{25}{6}\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((3+5*x)**2/(1-2*x)/(2+3*x),x)

[Out]

-121*log(-2*x + 1)/28 + log(3*x + 2)/63 + Integral(-25/6, x)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0225767, size = 32, normalized size = 1.23 \[ -\frac{5}{6} (5 x+3)-\frac{121}{28} \log (5-10 x)+\frac{1}{63} \log (5 (3 x+2)) \]

Antiderivative was successfully verified.

[In]  Integrate[(3 + 5*x)^2/((1 - 2*x)*(2 + 3*x)),x]

[Out]

(-5*(3 + 5*x))/6 - (121*Log[5 - 10*x])/28 + Log[5*(2 + 3*x)]/63

_______________________________________________________________________________________

Maple [A]  time = 0.009, size = 21, normalized size = 0.8 \[ -{\frac{25\,x}{6}}+{\frac{\ln \left ( 2+3\,x \right ) }{63}}-{\frac{121\,\ln \left ( -1+2\,x \right ) }{28}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((3+5*x)^2/(1-2*x)/(2+3*x),x)

[Out]

-25/6*x+1/63*ln(2+3*x)-121/28*ln(-1+2*x)

_______________________________________________________________________________________

Maxima [A]  time = 1.32829, size = 27, normalized size = 1.04 \[ -\frac{25}{6} \, x + \frac{1}{63} \, \log \left (3 \, x + 2\right ) - \frac{121}{28} \, \log \left (2 \, x - 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(5*x + 3)^2/((3*x + 2)*(2*x - 1)),x, algorithm="maxima")

[Out]

-25/6*x + 1/63*log(3*x + 2) - 121/28*log(2*x - 1)

_______________________________________________________________________________________

Fricas [A]  time = 0.215581, size = 27, normalized size = 1.04 \[ -\frac{25}{6} \, x + \frac{1}{63} \, \log \left (3 \, x + 2\right ) - \frac{121}{28} \, \log \left (2 \, x - 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(5*x + 3)^2/((3*x + 2)*(2*x - 1)),x, algorithm="fricas")

[Out]

-25/6*x + 1/63*log(3*x + 2) - 121/28*log(2*x - 1)

_______________________________________________________________________________________

Sympy [A]  time = 0.269091, size = 22, normalized size = 0.85 \[ - \frac{25 x}{6} - \frac{121 \log{\left (x - \frac{1}{2} \right )}}{28} + \frac{\log{\left (x + \frac{2}{3} \right )}}{63} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((3+5*x)**2/(1-2*x)/(2+3*x),x)

[Out]

-25*x/6 - 121*log(x - 1/2)/28 + log(x + 2/3)/63

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.206215, size = 30, normalized size = 1.15 \[ -\frac{25}{6} \, x + \frac{1}{63} \,{\rm ln}\left ({\left | 3 \, x + 2 \right |}\right ) - \frac{121}{28} \,{\rm ln}\left ({\left | 2 \, x - 1 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(5*x + 3)^2/((3*x + 2)*(2*x - 1)),x, algorithm="giac")

[Out]

-25/6*x + 1/63*ln(abs(3*x + 2)) - 121/28*ln(abs(2*x - 1))